diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-06-25 12:38:32 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-06-25 12:38:32 +0100 |
| commit | e139747e1593885bc90f2ae5427a6215475b76fd (patch) | |
| tree | 720e6a0b754a253cbec817f04e760cb484451f97 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | bb0029571483cdb4359359c7f978fed62976c891 (diff) | |
Support globals in WASM binary format
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 15 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..db3a53e3 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,15 @@ + +module.wasm: file format wasm 0x1 + +Section Details: + +Global[2]: + - global[0] i32 mutable=1 - init i32=7 + - global[1] i64 mutable=0 - init i64=9 +Custom: + - name: "name" +Custom: + - name: "linking" + - symbol table [count=0] + +Code Disassembly: |
